<template>
	<view class="pages">
		<view class="items">
			<view class="modelTherr fineFontSytle">
				{{$t('CommissionMingXiDetalisTitle')}}
			</view>
			<view class="dataContent" v-for="(payDetalis , index) in dadaList">
				<view class="line" v-if="index != 0">
					<!-- 线 -->
				</view>
				<view class="items_ch">
					<view class="items_ch_left " style="width: 50%;">
						<view class="items_ch_left_top fineFontSytle">
						{{$t('CommissionMingXiDtalisbdh')}}
						</view>
						<view class="items_ch_left_buttom strongFontSytle">
							{{payDetalis.id || ''}}
						</view>
					</view>
					<view class="items_ch_right" style="width: 50%;">
						<view class="items_ch_right_top fineFontSytle">
							{{$t('CommissionMingXiDtalisINSURED')}}
						</view>
						<view class="items_ch_right_buttom  strongFontSytle">
							{{payDetalis.protect_user || ''}}
						</view>
					</view>
				</view>
				<view class="items_ch">
		
					<view class="items_ch_right" style="width: 50%;">
						<view class="items_ch_right_top fineFontSytle">
							{{$t('CommissionMingXiDtalisCOMMISSION')}}
						</view>
						<view class="items_ch_right_buttom strongFontSytle">
							${{ $formatNumberWithCommas(payDetalis.change_moeny ? payDetalis.change_moeny : 0)}}
							<!-- 无内容 -->
						</view>
					</view>
				</view>
				<view class="items_ch">
					<view class="items_ch_left" style="width: 50%;">
						<view class="items_ch_left_top fineFontSytle">
							{{$t('CommissionMingXiDtalisDate')}}
						</view>
						<view class="items_ch_left_buttom strongFontSytle">
							{{payDetalis.pay_time | formatter('yyyy-mm-dd')}}
						</view>
					</view>
		
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				dadaList: [],
			}
		},
		onLoad(option) {
			this.dadaList = JSON.parse(option.data).xiangqing
			console.log(this.dadaList,'佣金明细详情111111111111');
		},
		methods: {

		}
	}
</script>


<style>
	.pages {
		width: 100%;
		height: 100vh;
		overflow-y: auto;
		/* padding: 0 26rpx; */
		box-sizing: border-box;
		background-color: #F0F0F0;
		padding: 30rpx 25rpx 120rpx;
		box-sizing: border-box;
	}

	.items {
		overflow: auto;
		width: 100%;
		background-color: #fff;
		padding: 54rpx 32rpx 85rpx;
		box-sizing: border-box;
		margin-bottom: 20rpx;
		border-radius: 10rpx;
	}

	.items_h {
		display: flex;
		align-items: center;
		margin-top: 20rpx;
		/* background-color: red; */
	}

	.items_h:first-child {
		margin-top: 0rpx;
	}

	.items_h_left {}

	.strongFontSytle {
		font-family: Montserrat;
		font-size: 28rpx;
		font-weight: 700;
		letter-spacing: 0em;
		text-align: left;

	}

	.fineFontSytle {
		font-family: Montserrat;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 22px;
		letter-spacing: 0em;
		text-align: left;

	}

	.Status {
		display: inline-block;
		height: 40rpx;
		line-height: 36rpx;
		background-color: #73E11D;
		padding: 0 20rpx;
		font-family: Inter;
		font-size: 24rpx;
		font-weight: 700;
		letter-spacing: 0em;
		text-align: center;
		color: #fff;
		border-radius: 20rpx;

	}

	.items_bh {
		display: flex;
		align-items: center;
		margin-top: 20rpx;

	}

	.items_bh:first-child {
		margin-top: 0;
	}

	.items_bh_list {
		width: 250rpx;
	}
	.items_ch {
		display: flex;
		align-items: center;
	}
	.items_ch_left_buttom,.items_ch_right_buttom {
		margin-top: 10rpx;
	}
	.items_ch {
		margin-top: 35rpx;
	}
	.items_ch:first-child {
		margin-top: 0;
	}
	.line {
		width: 100%;
		/* height: 2rpx; */
		/* background-color: #808080; */
		border-top: 2rpx dashed  #808080;
		margin-top: 35rpx;
	}
	.modelTherr {
		width: 100%;
		margin-bottom: 35rpx;
		font-weight: 700;
		font-size: 28rpx;
	}
	.funBox {
		display: flex;
		align-items: center;
		align-items: center;
		flex-direction: column;
	}
	.items_li {
		width: 100%;
		height: 60rpx;
		border: 2rpx solid #273562;
		border-radius: 30rpx;
		text-align: center;
		line-height: 53rpx;
		margin-top: 25rpx;
		background-color: #273562;
		color: #fff;
	}
	.items_li:active {
		background-color: #384d8d;
	}
</style>